package com.infosys.newSimpleInvertedIndex.models;

public class SearchResult {
    private String id;
    private double relevanceScore;

    public SearchResult(String id, double relevanceScore) {
        this.id = id;
        this.relevanceScore = relevanceScore;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getRelevanceScore() {
        return relevanceScore;
    }

    public void setRelevanceScore(double relevanceScore) {
        this.relevanceScore = relevanceScore;
    }
}
